import request from "../network/request";

export const Api = {
    fileUploadDynamicReturnUrl: 'dev/file/cUploadDynamicReturnUrl',
    amapCGeocodeRegeo: 'amap/c/geocodeRegeo',
    commonAreaJson: 'api/biz/common/areaJson',
    searchHotWord: 'api/biz/search/hotWord',
}





export const amapCGeocodeRegeo=(lngLat) =>{
    return request({
        url: Api.amapCGeocodeRegeo,
        method: 'get',
        data: {lngLat:lngLat},
        headers: {contentType: 'application/x-www-form-urlencoded',loading:false}
    })
}

export const commonAreaJson=() =>{
    return request({
        url: Api.commonAreaJson,
        method: 'get',
        headers: {contentType: 'application/x-www-form-urlencoded',loading:false}
    })
}


export const searchHotWord=() =>{
    return request({
        url: Api.searchHotWord,
        method: 'get',
        headers: {contentType: 'application/x-www-form-urlencoded',loading:false}
    })
}
